<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>


共 <s:property value="pagerEntity.pageInfo.pageCount"/> 条记录  
当前 <s:property value="pagerEntity.pageInfo.pageNow + 1"/> / <s:property value="pagerEntity.pageInfo.totalPage"/>  
<s:set name="pn" value="%{pagerEntity.pageInfo.pageNow + 1}"></s:set>
<s:if test="pagerEntity==null || #pn==1">
	首页
</s:if>
<s:else>
	<s:a href="javascript:void(0);" cssStyle="color:red" onclick="page(0); return false;">首页</s:a>
</s:else>  
<s:if test="pagerEntity==null || #pn==1">
	上一页
</s:if>
<s:else>
	<s:a href="javascript:void(0);" cssStyle="color:red" onclick="page(%{pagerEntity.pageInfo.pageNow - 1}); return false;">上一页</s:a>
</s:else>  
<s:if test="pagerEntity==null || #pn==pagerEntity.pageInfo.totalPage">
	下一页
</s:if>
<s:else>
	<s:a href="javascript:void(0);" cssStyle="color:red" onclick="page(%{pagerEntity.pageInfo.pageNow + 1}); return false;">下一页</s:a>
</s:else>
<s:if test="pagerEntity==null || #pn==pagerEntity.pageInfo.totalPage">
	末页
</s:if>
<s:else>
	<s:a href="javascript:void(0);" cssStyle="color:red" onclick="page(%{pagerEntity.pageInfo.totalPage - 1}); return false;">末页</s:a>
</s:else>  